package com.honey.mybatis.generator.model.field;

import com.honey.compilation.java.Decoration;
import com.honey.compilation.java.JavaVisibility;
import com.honey.mybatis.generator.AbstractField;
import com.honey.mybatis.generator.model.ModelConstant;

public class ShowField extends AbstractField {
	
	@Override
	protected String getFieldName() {
		return ModelConstant.FIELD_SHOW;
	}

	/* (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getDecoration()
	 */
	@Override
	protected Decoration getDecoration() {
		Decoration answer = super.getDecoration();
		answer.setVisibility(JavaVisibility.PRIVATE);
		answer.setFinal(true);
		return answer;
	}

	/* (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#isUseDefaultValue()
	 */
	@Override
	protected boolean isUseDefaultValue() {
		return false;
	}
}
